package com.administrator.customviewtest.other.remoteview;

import android.app.Activity;
import android.app.Notification;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.administrator.customviewtest.R;

/**
 * Created by lsp on 2017/8/30 14 22
 */

public class NotificClass extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Notification notification = new Notification();
        notification.icon = R.drawable.emoj1;
        notification.tickerText = "Hello";
        notification.when = System.currentTimeMillis();
    }
}
